Integrating Video into Macromedia Flash
Table of Contents
Importing Video into a Flash document
To import video into a SWF, follow these steps:
- Create a new Flash file by clicking File > New.
-
Import video to the library:
- Select File > Import > Import to Library and select cyclers.mov from the directory that you unzipped the files to.
- Select Embed video in the Macromedia Flash document in the wizard and go to the next screen.
- Select Import the Entire Video and go to the next screen.
- Leave the Compression Profile at its default setting and select Finish to import the video to the library.
-
Embed video into a MovieClip:
- Create a MovieClip symbol and name it mcVideo.
- Remain in mcVideo’s Timeline and drag an instance of cyclers.mov from the library to the Stage.
- Select Yes in the dialog box to extend the MovieClip’s Timeline to the length of the video.
-
Add the MovieClip to the main document:
- Return to the main document’s Timeline.
- Drag an instance of mcVideo from the library to the Stage.
- Define the following properties for the MovieClip instance:
- Instance name: video_mc
- Width: 190
- Height:130
-
Save and test the application:
- Save and test the application to view the video.
- Choose View > Bandwidth Profiler and note the file size
- Close the SWF and FLA.